const mongoose = require('mongoose')
let Schema = mongoose.Schema
let schema = new Schema({
  _id: {type: String,required: true},
  name: {type: String,required: true},
  img_url:{ type: String, default: '',required:true },
  create_time:{type:Date,default: Date.now()},
  update_time:{type:Date,default: Date.now()},
  describe:String,
  status:Boolean,
  sort:Number
})
//创建Model对象
let Model = mongoose.model('project_cate', schema)
module.exports = Model